<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="MyProfile.aspx.vb" Inherits="MyProfile" title="MyProfile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="RightContent" Runat="Server">
    <p>
      <b>BYU Athletic Sale</b><br />
	  Last years athletic equiptment and uniforms will be on sale at the Indoor Practice Facility including cleats, jerseys and more
	</p>
    <div id="myhr"></div>
        <p>
           <b>Gart Sports</b><br />
	      Get 15% off athletic gear and equiptment by mentioning this ad.
	    </p>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" Runat="Server">
    <h1>My Profile</h1>
    <asp:Table ID="Table1" runat="server" Width="700px">
        <asp:TableRow>
            <asp:TableCell>
                <div id="profilepic">
                    <asp:Image ID="Image1" ImageUrl="" Height="224" Width="148" runat="server" /><br />
                    <asp:HyperLink NavigateUrl="~/UploadPhoto.aspx" runat="server">Change Profile Picture</asp:HyperLink>
                </div>
            </asp:TableCell>
            <asp:TableCell ColumnSpan="2">
                <div style="font-size:medium; font-weight:bold">
                    <asp:GridView ID="PersonalInfo" runat="server">
                      
                    </asp:GridView>
                </div>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    <asp:GridView ID="SportInfo" runat="server" DataSourceID="SqlDataSource1">
    </asp:GridView>  
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT af_Sport.sportName, af_PlayerSport.skillLevel, af_PlayerSport.details FROM af_Sport INNER JOIN af_PlayerSport ON af_Sport.sportID = af_PlayerSport.sportID"></asp:SqlDataSource>
    
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="adBox" Runat="Server">
    &nbsp;
</asp:Content>

